package com.niknik.woody.rest.schema;

/**
 * User: yoda
 * Date: 01.12.11
 * Time: 8:22
 */
public enum RespStatus {

  SUCCESS(0),
  ERR(1),
  FATAL(2);

  private Integer statusCode;

  RespStatus(Integer statusCode) {
    this.statusCode = statusCode;
  }

  public Integer getCode() {
    return statusCode;
  }
}
